home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / SAS-C / sc655pch / guiprof / smakefile < prev    next >
Encoding:
Makefile  |  1995-01-26  |  898 b   |  36 lines

  1. GUIPROFOBJS = guiprof.o timer.o report.o smbar.o
  2. TESTOBJS  = test.o sprofutil.o
  3.  
  4. all: test smalltest guiprof
  5.  
  6. test: guiprof.gst $(TESTOBJS)
  7.    sc link $(TESTOBJS) to test
  8.  
  9. smalltest: guiprof.gst smalltest.o sprofutil.o
  10.    sc link smalltest.o sprofutil.o to smalltest
  11.  
  12. smalltest.o: test.c 
  13.    sc test.c define SMALLTEST=1 noopt profile objname=smalltest.o
  14.  
  15. test.o: test.c 
  16.    sc test.c noopt profile
  17.  
  18. guiprof: guiprof.exe
  19.    slink guiprof.exe to guiprof nd
  20.  
  21. guiprof.exe: guiprof.gst $(GUIPROFOBJS)
  22.    sc link $(GUIPROFOBJS) to guiprof.exe nosmallcode
  23.  
  24. guiprof.gst: guiprofpriv.h
  25.    sc guiprof.c mgst guiprof.gst noobjname
  26.  
  27. guiprof.o: guiprof.c guiprofpriv.h guiprof.h
  28. timer.o: timer.c
  29. smbar.o: smbar.c smbar.h
  30. report.o: report.c guiprofpriv.h guiprof.h smbar.h
  31. sprofutil.o: sprofutil.c guiprofpriv.h
  32.  
  33. clean:
  34.    -delete \#?.exe \#?.o \#?.map \#?.lnk \#?.gst guiprof quiet force
  35.    -avail >nil: flush
  36.